home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / lsrepeat.z / lsrepeat
Encoding:
Text File  |  1998-10-20  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. llllssssrrrreeeeppppeeeeaaaatttt((((3333GGGG))))                                                      llllssssrrrreeeeppppeeeeaaaatttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      llllssssrrrreeeeppppeeeeaaaatttt - sets a repeat factor for the current linestyle
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd llllssssrrrreeeeppppeeeeaaaatttt((((ffffaaaaccccttttoooorrrr))))
  13.      lllloooonnnngggg ffffaaaaccccttttoooorrrr;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _f_a_c_t_o_r   expects the repeat factor of the linestyle pattern.  The valid
  17.               range of _f_a_c_t_o_r is 1 through 255.
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      llllssssrrrreeeeppppeeeeaaaatttt is used to create linestyles that are longer than 16 bits by
  21.      multiplying each bit in the pattern by _f_a_c_t_o_r. When a line is drawn,
  22.      pixels are written if there is a 1 in the corresponding position of the
  23.      linestyle mask and not written if there is a 0 in the corresponding
  24.      position.  When llllssssrrrreeeeppppeeeeaaaatttt is used each bit in the pattern is multiplied
  25.      successively by _f_a_c_t_o_r.  If the line pattern is 0000000111111111 and
  26.      _f_a_c_t_o_r = 3, the resulting linestyle would be 27 bits on followed by 21
  27.      bits off.  Line patterns start from the least significant bit.
  28.  
  29. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  30.      deflinestyle, getlsrepeat
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.